#!/bin/sh
export BOCHS_INSTALL_PATH=/home/zyf/root
./configure --enable-cpu-level=6 --prefix=${BOCHS_INSTALL_PATH} --enable-debugger --enable-disasm --enable-readline
make
make install
install bochs ${BOCHS_INSTALL_PATH}/bin/bochsdbg
./configure --enable-cpu-level=6 --prefix=${BOCHS_INSTALL_PATH} --enable-gdb-stub
make
install bochs ${BOCHS_INSTALL_PATH}/bin/bochsgdb
